﻿using System;

namespace IsThirdDigit7
{
    class IsThirdDigit7
    {
        static void Main()
        {
            int number = 1732;
            bool isSeven = (number / 100) % 10 == 7;

            Console.WriteLine("The third digit is 7: " + isSeven);
        }
    }
}
